# # 打开文件open（）读取文件read（）
# f = open('1.txt', 'r', encoding='utf-8')
# print(f.read())
# # 2
# with open('1.txt', 'r', encoding='utf-8') as file:
#     text = file.read()
# print(text)
# # 3.绝对路径
# ff = open(r'C:\Users\Administrator\Desktop\2.txt', encoding='utf-8')
# print(ff.read())
# 写文件
fff = open('3.txt', 'w', encoding='utf-8')
fff.write('hello world,hello china')
date = '你好，今天星期四'
fff.close()
with open('3.txt', 'w', encoding='utf-8') as f:
    f.write(date)
import pandas
import requests
